Release 10.1A: OpenEdge Development:
Web Services


Processing the data from a TABLE parameter

This example shows how you might process data from a TABLE parameter:

// Loop through the rows and print some of the column values 
OrderDetailsRow[] rows = (OrderDetailsRow[]) orderDetailsHolder.value;  
// Print out some labels  
System.out.println("Customer's Order Details listed below:"); 
System.out.println("Order# " + "Order Status " + "Total Dollars");  
// Now print out all the rows  
for (int j = 0; j < rows.length; j++)	 
{ 
   OrderDetailsRow thisRow = rows[j]; 
   System.out.println(thisRow.getOrderNum( ) +  
                      thisRow.getOrderStatus( ) +  
                      thisRow.getTotalDollars( ));		 
} 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095